

<form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">

 
    <div class="form-group">
        <label for="c-url" class="control-label col-xs-12 col-sm-2">{:__('分类')}:</label>
        <div class="col-xs-12 col-sm-8">
			<select id="c-flag" class="form-control "  name="row[type]" style="height:31px;">
				<option value="2"   {if $row.type == '2'}selected{/if}>协议内容</option>
				<option value="1"   {if $row.type == '1'}selected{/if}>常见问题</option>
				<option value="3"   {if $row.type == '3'}selected{/if}>任务规则</option>
				<option value="4"   {if $row.type == '4'}selected{/if}>商户规则</option>
				<option value="5"   {if $row.type == '5'}selected{/if}>发放任务类型说明</option>
				<option value="6"   {if $row.type == '6'}selected{/if}>新闻资讯</option>
			</select>
		</div>
    </div>
    <div class="form-group form-input form-input-title">
		<label class="control-label col-xs-12 col-sm-2">标题：</label>
		<div class="col-xs-12 col-sm-8">
			<input id="c-name" data-rule="required" class="form-control form-control" placeholder="请输入内容的标题" name="row[title]" type="text" value="{$row.title}">
		</div>
	</div>

    <div class="form-group form-input form-input-title">
		<label class="control-label col-xs-12 col-sm-2">内容：</label>
		<div class="col-xs-12 col-sm-8">
            <textarea id="ueditor" class="editor" style="height: 400px;">{$row.content}</textarea>
		</div>
	</div>
	
   
    <div class="form-group hide layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

